package com.sgzn.sgpay.service.tcp.impl;

import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.service.tcp.api.TcpQueryTerminalBillExchangeService;
import com.sgzn.sgpay.service.tcp.model.terminal.request.TcpQueryTerminalBillExchangeRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 查询终端账目（兑币机） 服务接口实现类
 * @author huangsenguang
 * @version Id: TcpQueryTerminalBillExchangeServiceImpl.java, v 0.1 2018/7/23 14:07 huangsenguang Exp $$
 */
@Service
@Slf4j
public class TcpQueryTerminalBillExchangeServiceImpl extends TcpBaseTemplate implements TcpQueryTerminalBillExchangeService {
    @Override
    public SgsResultResponse<String> invoke(TcpQueryTerminalBillExchangeRequest request) {
        return super.execute(request.getDeviceId(), request.toString());
    }
}

